home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMLSProgressEvent.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  116 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMLSProgressEvent.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMLSProgressEvent_h__
  6. #define __gen_nsIDOMLSProgressEvent_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMEvent_h__
  10. #include "nsIDOMEvent.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMLSInput; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMLSProgressEvent */
  21. #define NS_IDOMLSPROGRESSEVENT_IID_STR "b9a2371f-70e9-4657-b0e8-28e15b40857e"
  22.  
  23. #define NS_IDOMLSPROGRESSEVENT_IID \
  24.   {0xb9a2371f, 0x70e9, 0x4657, \
  25.     { 0xb0, 0xe8, 0x28, 0xe1, 0x5b, 0x40, 0x85, 0x7e }}
  26.  
  27. class NS_NO_VTABLE nsIDOMLSProgressEvent : public nsIDOMEvent {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMLSPROGRESSEVENT_IID)
  31.  
  32.   /* readonly attribute nsIDOMLSInput input; */
  33.   NS_IMETHOD GetInput(nsIDOMLSInput * *aInput) = 0;
  34.  
  35.   /* readonly attribute unsigned long position; */
  36.   NS_IMETHOD GetPosition(PRUint32 *aPosition) = 0;
  37.  
  38.   /* readonly attribute unsigned long totalSize; */
  39.   NS_IMETHOD GetTotalSize(PRUint32 *aTotalSize) = 0;
  40.  
  41. };
  42.  
  43. /* Use this macro when declaring classes that implement this interface. */
  44. #define NS_DECL_NSIDOMLSPROGRESSEVENT \
  45.   NS_IMETHOD GetInput(nsIDOMLSInput * *aInput); \
  46.   NS_IMETHOD GetPosition(PRUint32 *aPosition); \
  47.   NS_IMETHOD GetTotalSize(PRUint32 *aTotalSize); 
  48.  
  49. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  50. #define NS_FORWARD_NSIDOMLSPROGRESSEVENT(_to) \
  51.   NS_IMETHOD GetInput(nsIDOMLSInput * *aInput) { return _to GetInput(aInput); } \
  52.   NS_IMETHOD GetPosition(PRUint32 *aPosition) { return _to GetPosition(aPosition); } \
  53.   NS_IMETHOD GetTotalSize(PRUint32 *aTotalSize) { return _to GetTotalSize(aTotalSize); } 
  54.  
  55. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  56. #define NS_FORWARD_SAFE_NSIDOMLSPROGRESSEVENT(_to) \
  57.   NS_IMETHOD GetInput(nsIDOMLSInput * *aInput) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInput(aInput); } \
  58.   NS_IMETHOD GetPosition(PRUint32 *aPosition) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPosition(aPosition); } \
  59.   NS_IMETHOD GetTotalSize(PRUint32 *aTotalSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTotalSize(aTotalSize); } 
  60.  
  61. #if 0
  62. /* Use the code below as a template for the implementation class for this interface. */
  63.  
  64. /* Header file */
  65. class nsDOMLSProgressEvent : public nsIDOMLSProgressEvent
  66. {
  67. public:
  68.   NS_DECL_ISUPPORTS
  69.   NS_DECL_NSIDOMLSPROGRESSEVENT
  70.  
  71.   nsDOMLSProgressEvent();
  72.  
  73. private:
  74.   ~nsDOMLSProgressEvent();
  75.  
  76. protected:
  77.   /* additional members */
  78. };
  79.  
  80. /* Implementation file */
  81. NS_IMPL_ISUPPORTS1(nsDOMLSProgressEvent, nsIDOMLSProgressEvent)
  82.  
  83. nsDOMLSProgressEvent::nsDOMLSProgressEvent()
  84. {
  85.   /* member initializers and constructor code */
  86. }
  87.  
  88. nsDOMLSProgressEvent::~nsDOMLSProgressEvent()
  89. {
  90.   /* destructor code */
  91. }
  92.  
  93. /* readonly attribute nsIDOMLSInput input; */
  94. NS_IMETHODIMP nsDOMLSProgressEvent::GetInput(nsIDOMLSInput * *aInput)
  95. {
  96.     return NS_ERROR_NOT_IMPLEMENTED;
  97. }
  98.  
  99. /* readonly attribute unsigned long position; */
  100. NS_IMETHODIMP nsDOMLSProgressEvent::GetPosition(PRUint32 *aPosition)
  101. {
  102.     return NS_ERROR_NOT_IMPLEMENTED;
  103. }
  104.  
  105. /* readonly attribute unsigned long totalSize; */
  106. NS_IMETHODIMP nsDOMLSProgressEvent::GetTotalSize(PRUint32 *aTotalSize)
  107. {
  108.     return NS_ERROR_NOT_IMPLEMENTED;
  109. }
  110.  
  111. /* End of implementation class template. */
  112. #endif
  113.  
  114.  
  115. #endif /* __gen_nsIDOMLSProgressEvent_h__ */
  116.